package com.itcat.mysql.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Cr Mr]
 * @version : [v1.0]
 * @date : [2022/3/31 20:20]
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UmsAdminLoginLog implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long adminId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String ip;

    /***
     * 地址
     * @author Cr Mr
     * @date 2022/3/31 20:23
     */
    private String address;

    /***
     * 浏览器类型
     * @author Cr Mr
     * @date 2022/3/31 20:23
     */
    private String userAgent;

}
